<?php

include_once($_SERVER['DOCUMENT_ROOT'].'/admin/public/header.php');
$id = $_GET['id'];
// $res = sel($config,'category',"where id = $id");
$res= sel ($config,'reply','where id='.$id);
?>
    

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/admin/reply/index.php/">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="/admin/reply/index.php/">作品管理</a><span class="crumb-step">&gt;</span><span>新增作品</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="/admin/reply/upd.php/" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody><tr>
                            
                        </tr>
                            <tr>
                            <input type="hidden" name="id" value="<?php echo $res[0]['id'] ;?>">
                               
                            </tr>
                            <tr>
                                <th>用户名：</th>
                                <td><input class="common-text" name="uid" size="50" value="<?php echo $res[0]['uid'] ;?>" type="text"></td>
                            </tr>
                           
                            <tr>
                                <th>内容：</th>
                                <td><textarea name="content" class="common-textarea" id="content" cols="30" style="width: 98%;" rows="10"><?php echo $res[0]['content'] ;?></textarea></td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
</div>
</body>
</html>
